# Contributor: messense <messense@icloud.com>
# Maintainer: messense <messense@icloud.com>
pkgname=py3-sphinx-copybutton
pkgver=0.4.0
pkgrel=1
pkgdesc="Add a copy button to code blocks"
url="https://github.com/executablebooks/sphinx-copybutton"
arch="noarch"
license="MIT"
depends="
	py3-sphinx
	python3
	"
makedepends="py3-setuptools"
source="https://pypi.python.org/packages/source/s/sphinx-copybutton/sphinx-copybutton-$pkgver.tar.gz"
options="!check" # No tests
builddir="$srcdir/sphinx-copybutton-$pkgver"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="e60d1f9635f346958d1d1367aea10e5b5357b5b839c5c4ef6ef64cf4c6703fe44fe49e3d7cce564745f1d727d8a35e8d8c97a3a5d085e1a9683969bdbfd366bf  sphinx-copybutton-0.4.0.tar.gz"
